package com.scada.hessian.client.impl;

import com.scada.inf.MemberBuyServiceVisitor;
import com.scada.model.bean.MemberBuyService;
import com.scada.model.result.ResponseBean;
import com.scada.model.search.MemberBuyServiceSearch;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("memberBuyServiceVisitorService")
public class MemberBuyServiceVisitorClient extends BaseClient<MemberBuyServiceVisitor> implements MemberBuyServiceVisitor{

	@Override
	public void deleteMemberBuyServiceById(String isShow, String ids) {
		
		getVistor().deleteMemberBuyServiceById(isShow, ids);
	}

	@Override
	public void insertMemberBuyService(MemberBuyService memberBuyService) {
		
		getVistor().insertMemberBuyService(memberBuyService);
	}

	@Override
	public ResponseBean getMemberBuyServiceById(Long id) {
		
		return getVistor().getMemberBuyServiceById(id);
	}

	@Override
	public void updateMemberBuyService(MemberBuyService memberBuyService) {
		
		getVistor().updateMemberBuyService(memberBuyService);
	}

	@Override
	public ResponseBean getMemberBuyServicePageData(MemberBuyServiceSearch memberBuyServiceSearch) {
		
		return getVistor().getMemberBuyServicePageData(memberBuyServiceSearch);
	}

	@Override
	public ResponseBean validateBuyRepeat(Long id, String buyStartDate, String buyEndDate, Long memberId,
			Long serviceId) {
		
		return getVistor().validateBuyRepeat(id, buyStartDate, buyEndDate, memberId, serviceId);
	}

	@Override
	public ResponseBean updateIfRenew(String ifRenew, Long id) {
		
		return getVistor().updateIfRenew(ifRenew, id);
	}
}
